package com.qf.service.impl;

import com.qf.bean.Users;
import com.qf.dao.UsersDao;
import com.qf.service.UsersSevice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 2019/12/6
 * Administrator
 * springboot1206
 * 面向对象面向君  不负代码不负卿
 */
@Service
public class UsersServiceImpl implements UsersSevice {
    @Autowired
    private UsersDao usersDao;

    @Override
    public List<Users> getall() {
        return usersDao.findall();
    }
}
